@page
@using Microsoft.AspNetCore.Mvc.Localization
@using AdminFrame.Localization
@using AdminFrame.Web.Pages.Parameters
@using Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Modal
@using AdminFrame.Application.Contracts.Parameters.Dtos;
@using System.Globalization
@inject IHtmlLocalizer<AdminFrameResource> L
@model EditModalModel
@{
    Layout = null;
}

<form data-ajaxForm="true" asp-page="/Parameters/EditModal" autocomplete="off">
    <abp-modal id="AppMessageEditModal" size="Large">
        <abp-modal-header title="@L["Update"].Value"></abp-modal-header>

        <abp-modal-body>
            <abp-input asp-for="Id" />
            <abp-input asp-for="Parameter.Name" />
            <abp-input asp-for="Parameter.Code" />
            <abp-select asp-for="Parameter.Type" />
            <abp-select asp-for="Parameter.IsActive" />
            <abp-input asp-for="Parameter.Description" />
        </abp-modal-body>

        <abp-modal-footer buttons="@(AbpModalButtons.Cancel | AbpModalButtons.Save)">
        </abp-modal-footer>
    </abp-modal>
</form>
